//
//  Util.h
//  BPO
//
//  Created by Mac on 2018/1/1.
//  Copyright © 2018年 Mac. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DataPersist.h"

#define SCREEN_WIDTH [[UIScreen mainScreen]bounds].size.width
#define SCREEN_HEIGHT [[UIScreen mainScreen]bounds].size.height

#define UISCREEN_WIDTH [[UIScreen mainScreen]bounds].size.width
#define UISCREEN_HEIGHT [[UIScreen mainScreen]bounds].size.height

#define APPCURRENTNUM 2.0

#define MYCOLORYELLOW [UIColor colorWithRed:0.98823 green:0.6549 blue:0.12549 alpha:1.0]
#define MYCOLORBLUE [UIColor colorWithRed:0.06666 green:0.48235 blue:0.99608 alpha:1.0]

#define MENUBROWN [UIColor colorWithRed:117.0/255.0 green:76.0/255.0 blue:36.0/255.0 alpha:1.0] //#754c24
#define BPOPrimaryDark [UIColor colorWithRed:48/255.0 green:63/255.0 blue:159/255.0 alpha:1.0] //#303F9F 48,63,159
#define BPOcolorAccent [UIColor colorWithRed:196/255.0 green:8/255.0 blue:32/255.0 alpha:1.0] //#FF4081  255,64,129
#define BPOblack [UIColor colorWithRed:56/255.0 green:46/255.0 blue:44/255.0 alpha:1.0] //#382e2c 56,46,44
#define BPOred [UIColor colorWithRed:196/255.0 green:8/255.0 blue:32/255.0 alpha:1.0] //#c40820 196,8,32
#define BPOyellow [UIColor colorWithRed:253/255.0 green:182/255.0 blue:56/255.0 alpha:1.0] //#fdb638 253,182,56



#define FOODURL @"http://www.imooc.com/api/restgetfood"
#define FRUITURL @"http://www.imooc.com/api/restgetfruit"
#define LOGINURL @"http://www.imooc.com/api/restlogin"


@interface Util : NSObject

@end
